package com.hibase.core.page.entity.modulexml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Data;

/**
 * 描述:
 *
 * @author li-wei-hua
 * @date 2021-04-13 16:09
 */
@Data
public class ModuleNumberXmlVO {

    @XStreamAsAttribute
    @XStreamAlias("dataIndex")
    private String dataIndex;

    @XStreamAsAttribute
    @XStreamAlias("title")
    private String title;

    @XStreamAsAttribute
    @XStreamAlias("precision")
    private Integer precision;

    @XStreamAsAttribute
    @XStreamAlias("max")
    private Integer max;

    @XStreamAsAttribute
    @XStreamAlias("min")
    private Integer min;

    @XStreamAsAttribute
    @XStreamAlias("length")
    private Integer length;

    @XStreamAsAttribute
    @XStreamAlias("required")
    private Boolean required;

    @XStreamAsAttribute
    @XStreamAlias("row")
    private Integer row;

    @XStreamAsAttribute
    @XStreamAlias("col")
    private Integer col;

    @XStreamAsAttribute
    @XStreamAlias("span")
    private Integer span;

    /**
	 * 消息提示
	 */
	@XStreamAsAttribute
	@XStreamAlias("placeholder")
	private String placeholder;
	
	/**
	 * 加减乘除 calcValue="item.code + item.name" 
	 */
	@XStreamAsAttribute
	@XStreamAlias("calcValue")
	private String calcValue;
	
	/**
	 * 事件 根据showRule条件触发是否显示或者隐藏 showRule="item.code !== ''" 
	 */
	@XStreamAsAttribute
	@XStreamAlias("showRule")
	private String showRule;
	
}
